#define _CRT_SECURE_NO_WARNINGS 1
int main()
{
	//开辟    
	int* p1 = (int*)malloc(sizeof(int));

	int* p2 = new int;

	int* p3 = (int*)malloc(sizeof(int) * 5);

	int* p4 = new int[5];


	//释放
	free(p1);
	delete p2;
	free(p3);
	delete[]p4;



	return 0;
}